﻿namespace CSVParser
{
    using System.Runtime.Serialization;

    [DataContract]
    public class MappedValue
    {
        #region Constructors

        public MappedValue()
        {
        }

        public MappedValue(FieldMapping mapping, object value)
        {
            this.FieldMapping = mapping;
            this.Value = value;
        }

        #endregion Constructors

        #region Properties

        [DataMember]
        public FieldMapping FieldMapping
        {
            get; set;
        }

        [DataMember]
        public object Value
        {
            get; set;
        }

        #endregion Properties
    }
}